<?php
namespace Admin\Model;
use Think\Model;

class RegionModel extends Model
{
    public function getRegionList($parent_id)
    {
        $condition = array('parent_id' => intval($parent_id));
        $list = $this->where($condition)->order('sort asc, id asc')->select();
        return $list;
    }
}